/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bean;

import BO.LabBO;
import pojo.Lab;

/**
 *
 * @author phong
 */
public class LabBean {

    private Lab lab;

    /**
     * Creates a new instance of LabBean
     */
    public LabBean() {
    }

    public Lab getLab() {
        return lab;
    }

    public void setLab(Lab lab) {
        this.lab = lab;
    }

    //<editor-fold defaultstate="collapsed" desc="2. Lấy thông tin Lab thông qua id">
    public Lab getLabByID(String id) {
        lab = LabBO.getLabByID(id);
        return lab;
    }
    //</editor-fold>
}
